package com.atguigu.gmallsuger.service;

import com.atguigu.gmallsuger.bean.VisitorStats;
import com.atguigu.gmallsuger.mapper.VisitorMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VisitorServiceImpl implements VisitorService{
    
    @Autowired
    VisitorMapper visitor;
    @Override
    public List<VisitorStats> statsByHour(int date) {
        return visitor.statsByHour(date);
    }
    
}
